package com.tom.architect02.mnbase.annotation.apt.asm;


public class InjectTest {

    public static int i=10;

    @ASMTest
    public static void main(String[] args) throws InterruptedException {
        long startTime= System.currentTimeMillis();
        Thread.sleep(2000);
        long endTime= System.currentTimeMillis();
        System.out.println("execute time= "+(endTime-startTime)+"ms"); // 字节码插桩，插入代码
        // System.out     "execute time= "  endTime     startTime  "ms"  +  +  println
    }

    void method2(){
        int x;
    }
    @ASMTest
    void methXXXX(){

    }

}
